package com.baidu.cleaner.config;

import java.util.ArrayList;
import java.util.List;

public class TR {
	private String name = null;
	private int fieldNum;

	private String filterScript = null;
	private String selectScript = null;

	private List<TD> tds = new ArrayList<TD>();

	public TR() {
		super();
	}

	public TR(String name, int fieldNum) {
		super();
		this.name = name;
		this.fieldNum = fieldNum;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getFieldNum() {
		return fieldNum;
	}

	public void setFieldNum(int fieldNum) {
		this.fieldNum = fieldNum;
	}

	public String getFilterScript() {
		return filterScript;
	}

	public void setFilterScript(String filterScript) {
		this.filterScript = filterScript;
	}

	public String getSelectScript() {
		return selectScript;
	}

	public void setSelectScript(String selectScript) {
		this.selectScript = selectScript;
	}

	public void addTD(TD td) {
		this.tds.add(td);
	}

	public List<TD> getTds() {
		return tds;
	}
}
